package com.qsd.TeacherSystem.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qsd.common.po.Answer;
import com.qsd.common.pojo.AnswerEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AnswerDao extends BaseMapper<AnswerEntity> {
	
	List<Answer> queryByTeacherUsername(String teacherUsername);
	Answer queryAnswerById(Integer id);
	Answer queryById(Integer id);
	int deleteAnswerById(Integer id);

}
